package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String hello() {
        return "hello world springbootxxx22223333";
    }
    @RequestMapping
    public String testUrl(){
        System.out.println("111111111111111");
        System.out.println("2222222222222222222");
        return "success";
    }
    public void t2(){
        System.out.println("t2");
    }
}
